package com.ophiux.cs.application.core;

public enum ResultEnum {
	/**
	 * 业务失败 （当前此编码无实际意义）
	 */
	requestFail("000","业务失败"),
	/**
	 * "100","请求成功"
	 */
	requestSuccess("100","请求成功"),
	/**
	 * "101","参数不合法"
	 */
	requestParamFail("101","参数不合法"),
	/**
	 * "102","服务异常"
	 */
	requestException("102","系统内部异常"),
	/**
	 * "103","未找到相关用户信息"
	 */
	NotFundUser("103","未找到相关用户信息"),
	/**
	 * "104","登录失败"
	 */
	LoginFail("104","登录失败"),
	/**
	 * "105","签名非法"
	 */
	SignFail("105","非法签名"),
	/**
	 * "106","用户信息已存在"
	 */
	userAgin("106","用户信息已存在"),
	/**
	 * "107","用户信息已存在"
	 */
	registerFail("107","注册失败"),
	/**
	 * "108","非法Token"
	 */
	TokenFail("108","非法Token"),
	
	/**
	 * "109","未找到记录信息"
	 */
	NotFoundConsultRecord("109","未找到咨询记录信息"),
	/**
	 * "110","未找到就诊人信息"
	 */
	NotFoundPatient("110","未找到就诊人信息"),
	
	/**
	 * 上传图片异常
	 */
	UploadImgException("111","上传图片异常"),
	
	;
	
	
	
	private String code;
	private String msg;
	public String getCode() {
		return code;
	}
	public String getMsg() {
		return msg;
	}
	private ResultEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
}
